Skip to content

ci: fix CI workflow -- rename seam-core paths to seam#21

Merged
ontave merged 9 commits into
mainfrom
session/25e-lineage-all-platform-gvks
May 17, 2026
Merged

ci: fix CI workflow -- rename seam-core paths to seam#21
ontave merged 9 commits into
mainfrom
session/25e-lineage-all-platform-gvks

Conversation

@ontave
Copy link
Copy Markdown
Contributor

@ontave ontave commented May 17, 2026

Summary

  • Rename all seam-core references to seam in the CI workflow (checkout name, path, working-directory, go-version-file)

Test plan

  • CI passes on push

ontave added 9 commits May 12, 2026 11:42
PackBuild was incorrectly registered as a Kubernetes CRD. It is a Compiler
input YAML format only. The type, CRD YAML, and all deepcopy functions for
InfrastructurePackBuild, InfrastructurePackBuildList, InfrastructurePackBuildSpec,
InfrastructurePackBuildStatus, InfrastructurePackHelmSource,
InfrastructurePackKustomizeSource, and InfrastructurePackRawSource are removed.
The conductor Compiler retains its private PackBuildInput type in cmd/compiler/.
seam-core, conductor, and wrapper all build clean after removal.
Delete the five type files migrated to wrapper/api/seam/v1alpha1/:
InfrastructureClusterPack, InfrastructurePackExecution,
InfrastructurePackInstance, InfrastructurePackReceipt, PackOperationResult.

Delete their corresponding infrastructure.ontai.dev CRD YAML files.
Remove deepcopy implementations for all five. Update conditions.go and
validate.go to remove references. Delete the packoperationresult unit test
that was testing the now-removed type.
Removes taloscluster_types.go, its CRD manifest, and all deepcopy entries
for the migrated types. Updates DSNSGVKs and RootDeclarationGVKs to point
to seam.ontai.dev/TalosCluster. Updates all unit tests to the new GVK and
ILI naming convention (taloscluster-{name} instead of infrastructuretaloscluster-{name}).
…-root CRD filter

MIGRATION-3.8 Part 1-3 combined:

Part 1 -- API group change: seam.ontai.dev replaces infrastructure.ontai.dev
for RunnerConfig, LineageRecord, DriftSignal, SeamMembership. New CRDs added
under seam.ontai.dev; old infrastructure.ontai.dev CRDs tombstoned (empty spec,
deprecated=true annotation).

Part 2 -- Type rename cascade: InfrastructureRunnerConfig -> RunnerConfig,
InfrastructureLineageIndex -> LineageRecord across all internal consumers:
lineage_controller.go, descendant_reconciler.go, dsns_reconciler.go,
outcome_reconciler.go, authorship_gate.go, domainref_validation.go,
rootbinding_immutability.go, pkg/lineage/descendant.go, and all test files.

Part 3 -- LineageController admission filter: IsRootDeclaration checks the
infrastructure.ontai.dev/lineage-root label on the CRD object before creating
a LineageRecord. Non-root GVKs walk ownerReferences up to 3 hops to find the
nearest root; objects with no root within 3 hops requeue with a 5-minute delay.
TalosCluster and PackDelivery CRDs carry the lineage-root label.

New functions: CRDNameForGVK, IsRootDeclaration, ResolveRootOwner,
handleDerivedObject in lineage_controller.go.

LabelLineageRoot constant added to pkg/lineage/descendant.go.

12 new unit tests in test/unit/root_filter_test.go covering CRDNameForGVK,
IsRootDeclaration, and ResolveRootOwner (1-hop, 2-hop, 3-hop exact, no-owner,
exceeds-maxHops). 6 e2e stubs in test/e2e/lineage_root_filter_test.go skipped
pending live cluster with MGMT_KUBECONFIG and MIGRATION-3.8 closed.

All existing tests updated to add CRD objects to fake clients so IsRootDeclaration
resolves correctly. All unit and integration tests pass.
Update go.mod module declaration from github.com/ontai-dev/seam-core
to github.com/ontai-dev/seam. Update all internal import paths within
the repository to use the new module path. No type or logic changes.
Replace InfrastructureLineageIndex -> LineageRecord and
InfrastructureLineageController -> LineageController in all test
comments, It() descriptions, and internal error strings.

Functional label key strings (infrastructure.ontai.dev/lineage-root,
governance.infrastructure.ontai.dev/lineage-index-ref, etc.) and CAPI
GVK group references left unchanged -- production code still uses them.
All 6 seam test packages pass.
Fresh documentation from current codebase. seam.ontai.dev replaces
infrastructure.ontai.dev throughout. Type names updated: LineageRecord,
RunnerConfig, DriftSignal, SeamMembership. New seam-schema.md replaces
stale seam-core-schema.md (redirect stub left in place).
@ontave ontave merged commit 682641b into main May 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant